package com.stylefeng.guns.modular.pay.dto;



import java.io.Serializable;

import org.hibernate.validator.constraints.NotEmpty;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 银行卡绑定
 * @author Administrator
 *
 */
@ApiModel(value="支付卡绑定对象",description="支付卡绑定")
public class ApiCardParams implements Serializable{
	private static final long serialVersionUID = 1L;
	private String memberId;
	private String accountName;	
	private String bankId;
	private String cardNo;
	private String phone;
	
	@NotEmpty(message="会员ID不能为空")
	@ApiModelProperty(value="会员id",name="memberId",required=true)
	public String getMemberId() {
		return memberId;
	}
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	@NotEmpty(message="账户名不能为空")
	@ApiModelProperty(value="账户名称",name="accountName",required=true)
	public String getAccountName() {
		return accountName;
	}
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
	
	@NotEmpty(message="开户银行不能为空")
	@ApiModelProperty(value="开户银行",name="bankId",required=true)
	public String getBankId() {
		return bankId;
	}
	public void setBankId(String bankId) {
		this.bankId = bankId;
	}
	@NotEmpty(message="卡号不能为空")
	@ApiModelProperty(value="卡号",name="cardNo",required=true)
	public String getCardNo() {
		return cardNo;
	}
	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}
	@NotEmpty(message="手机号不能为空")
	@ApiModelProperty(value="手机号",name="phone",required=true)
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	
}
